﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace Marbles.Core.Pages
{
    public class AdminPage : Page
    {

        protected override void OnPreInit(EventArgs e)
        {
            this.MasterPageFile = "~/Admin/Templates/Admin.Master";
            this.Theme = "Admin";
        }


        protected override void CreateAnalyticsControl()
        {
            //Do nothing as we dont want stats on admin pages!
        }

        public override void VerifyRenderingInServerForm(System.Web.UI.Control control)
        {
            //base.VerifyRenderingInServerForm(control);
        }

        public override void ProcessRequest(HttpContext context)
        {
            base.ProcessRequest(context); 
        }
    }
}
